# @summary A short summary of the purpose of this class
#
# A description of what this class does
#
# @example
#   include lzu::security
class lzu::security {
  sshd_config { 'PermitRootLogin':
    ensure => present,
    value  => "no",
    notify => Service['sshd'],
  }
  sshd_config { 'GSSAPIAuthentication':
    ensure => present,
    value  => "no",
    notify => Service['sshd'],
  }
  file{"/root/bin/checkssh.sh":
    mode       =>  '755',
    owner      =>  'root',
    group      =>  'root',
    source     =>  "puppet:///modules/${module_name}/checkssh.sh",
    require    =>  File['/root/bin'],
  }
  file{"/etc/hosts.allow":
    mode       =>  '644',
    owner      =>  'root',
    group      =>  'root',
    source     =>  "puppet:///modules/${module_name}/hosts.allow",
  }
}
